﻿@model Common.Contract.Authentication.Record.UserRecord
<div id="collapseOne-loan" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne" aria-expanded="false" style="height: 0px;">
    <div class="panel-body">
        <div class="col-md-12">
            <div class="x_panel">
                <div class="x_title">
                    <h2>Form Basic Elements</h2>
                    <div class="clearfix"></div>
                </div>
                <div class="x_content">
                    <div class="col-md-4">
                        <label>
                            Choose type
                        </label>
                        <select class="select2_group_loan form-control" tabindex="-1" required>
                            <option></option>
                        </select>
                    </div>
                    <div class="col-md-4">
                        <label>
                            Choose element
                        </label>
                        <select class="select2_group_element_loan form-control" tabindex="-1" multiple="multiple" required>
                            <option></option>
                        </select>
                    </div>
                    <div class="col-md-4 div-filter">
                        <button id="filter-loan" type="submit" class="btn btn-success">Submit</button>
                    </div>

                </div>
            </div>
        </div>
        <div class="col-md-12">
            
            @switch (Model.GroupIdentifier)
            {
                case "1":
                    <table id="cm-customer-portfolio-loan" class="table custom_table table-bordered table-striped jambo_table">
                        <thead class="headings">
                            <tr>
                                <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.Zone.ToUpper()</th>
                                <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.Branch.ToUpper()</th>
                                <th class="column-title">DAO</th>
                                <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.MSBONameHeader</th>
                                <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.CifHeader</th>
                                <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.NameHeader</th>
                                <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.IndustryHeader</th>
                                <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.DateOpenCifHeader</th>
                                <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.BalanceHeader</th>
                                <th class="column-title" width="5%">@SMECustomerWebsite.Core.Resources.Resource.NhomNoHeader.ToUpper()</th>
                                <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.InfoHeader</th>
                            </tr>
                        </thead>
                        <tbody></tbody>
                    </table>
                    break;
                case "2":
                <table id="cm-customer-portfolio-loan" class="table custom_table table-bordered table-striped jambo_table">
                    <thead class="headings">
                        <tr>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.Branch.ToUpper()</th>
                            <th class="column-title">DAO</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.MSBONameHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.CifHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.NameHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.IndustryHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.DateOpenCifHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.BalanceHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.NhomNoHeader.ToUpper()</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.InfoHeader</th>
                        </tr>
                    </thead>
                    <tbody></tbody>
                </table>
                    break;
                case "3":
                <table id="cm-customer-portfolio-loan" class="table custom_table table-bordered table-striped jambo_table">
                    <thead class="headings">
                        <tr>
                            <th class="column-title">DAO</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.MSBONameHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.CifHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.NameHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.IndustryHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.DateOpenCifHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.BalanceHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.NhomNoHeader.ToUpper()</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.InfoHeader</th>
                        </tr>
                    </thead>
                    <tbody></tbody>
                </table>
                    break;
                case "4":
                <table id="cm-customer-portfolio-loan" class="table custom_table table-bordered table-striped jambo_table">
                    <thead class="headings">
                        <tr>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.CifHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.NameHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.IndustryHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.DateOpenCifHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.BalanceHeader</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.NhomNoHeader.ToUpper()</th>
                            <th class="column-title">@SMECustomerWebsite.Core.Resources.Resource.InfoHeader</th>
                        </tr>
                    </thead>
                    <tbody></tbody>
                </table>
                    break;
                default:
                    break;
            }


        </div>

    </div>
</div>